package top.infopub.mgr.ic.service;

import java.util.List;

import com.github.pagehelper.Page;

import top.infopub.mgr.ic.domain.BeforeToolDomain;
import top.infopub.mgr.ic.vo.BeforeToolVo;
import top.infopub.model.ic.BeforeTool;
import top.infopub.model.ic.BeforeToolAtt;
import top.infopub.model.ic.BeforeToolDetail;
import top.infopub.generic.GenericService;

public interface BeforeToolService extends GenericService<BeforeTool, String> {
 
    /**
     * 根据条件查询开工前管理工具审批分页数据
     * @param beforeToolVo
     * @return
     * @see
     */
    Page<BeforeToolDomain> selectByDomainWhere(Page<BeforeToolDomain> page,BeforeToolVo beforeToolVo);

    /**
     * 根据条件查询-我审批的开工前管理工具审批分页数据
     * @param beforeToolVo
     * @return
     * @see
     */
    Page<BeforeToolDomain> selectMyCheckByDomainWhere(Page<BeforeToolDomain> page,BeforeToolVo beforeToolVo);

    /**
     * 新增
     */
    void saveBeforeTool(BeforeTool beforeTool,List<BeforeToolDetail> beforeToolDetails,List<BeforeToolAtt> beforeToolAtts);

    /**
     * 详情
     */
    BeforeToolVo queryById(String id);
    
}